package com.github.ecbp.user.service.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.github.ecbp.common.resp.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel
public class RolePageVo extends BaseVO {
    /**
     * 名称
     */
    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("启用状态 0->禁用；1->启用")
    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty("用户类型")
    private String customerType;
    @ApiModelProperty(value = "用户类型名称")
    private String customerName;
}
